﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Entities_Layer;
using DAL;

namespace BLL
{
    public class Gestor
    {
        private UnitOfWork UoW = new UnitOfWork();


        /*public IEnumerable<Estrella> listarEstrellas()
        {
            return UoW.EstrellaRepository.GetAll();
        }
    */
        

        public void registrarSatellite(int pidPlaneta, long pdistanciaOrbita, String pcaracteristicas)
        {
            Satelite objSatelite = new Satelite(pidPlaneta, pdistanciaOrbita, pcaracteristicas);
            UoW.SateliteRepository.Insert(objSatelite);
            UoW.SateliteRepository.Save();
        }
    }


}
